package org.simpleframework.aop;

import net.sf.cglib.proxy.Enhancer;
import net.sf.cglib.proxy.MethodInterceptor;

/**
 * 创建代理对象
 *
 * @author: Oliver
 * @time: 2020/12/23/23:14
 */
public class ProxyCreator {
    public static Object createProxy(Class<?> type, MethodInterceptor callback) {
        return Enhancer.create(type, callback);
    }
}
